Skip to content

[#14387] Create role selection page#14392

Open
TobyCyan wants to merge 14 commits into
TEAMMATES:masterfrom
TobyCyan:role-selection-page
Open

[#14387] Create role selection page#14392
TobyCyan wants to merge 14 commits into
TEAMMATES:masterfrom
TobyCyan:role-selection-page

Conversation

@TobyCyan

@TobyCyan TobyCyan commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Fixes #14387

Outline of Solution

  • Create a role selection page which users can select a page to proceed based on their own user roles.
  • New users may click on New to TEAMMATES? to navigate to the Getting Started page.

With Roles
image

No Roles
image

@TobyCyan
TobyCyan marked this pull request as ready for review July 13, 2026 07:38
@TobyCyan
TobyCyan requested a review from samuelfangjw July 13, 2026 07:58
@TobyCyan
TobyCyan marked this pull request as draft July 14, 2026 06:30
@TobyCyan
TobyCyan marked this pull request as ready for review July 16, 2026 03:06
Comment thread src/web/app/page-role-selection/role-selection-page.component.html Outdated
Comment thread src/web/app/page-role-selection/role-selection-page.component.html Outdated
@TobyCyan
TobyCyan requested a review from samuelfangjw July 24, 2026 08:26
<div class="card-body">
@if (hasRolePages()) {
<p>Choose a page to continue.</p>
<div style="margin-top: 20px">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use bootstrap utility classes.

Comment on lines +76 to +78
error: () => {
this.rolePages.set([]);
},

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Errors should be handled appropriately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move role selection to after sign-in

2 participants